//
//  HHBaseViewController.h
//  Flower
//
//  Created by 花花 on 2016/12/7.
//  Copyright © 2016年 花花. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HHBaseViewController : UIViewController
/**
 * 隐藏hud
 */
- (void)hideHud;


/**
 *报告网络错误
 */
- (void)reportNetworkError:(NSError *)error;

/*
 *一些提示信息的函数
 */
-(void)showAlertWithString:(NSString *)info;
-(void)showHudWithLoading;
-(void)showHudWithSuccessInfo;
-(void)showHudWithFailedInfo;
-(void)showHudAutoHidesWithSuccessInfo;
-(void)showHudAutoHidesWithFailedInfo;
-(void)showHudAutoHidesWithNetworkNotAvailable;//网络不通的提示
-(void)showHudWithNetworkNotAvailable;//网络不通的提示
-(void)showHudAutoHideString:(NSString *)info;
-(void)showHudWithCustomInfo:(NSString *)info;
-(void)showNetWorkStatusesAutoHides;
-(void)showNetWorkStatuses;
-(void)HidensNetWorkStatuses;
-(void)showHudWithLoadingWithCustomInfo:(NSString*)info;

@end
